package com.xh.bussiness.teachbook.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author Pitt zhang
 * @since 2019/9/23
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("bk_teaching_book_audit_record")
public class TeachingBookAuditRecord  extends Model<TeachingBookAuditRecord> {

    @TableId(value = "id",type = IdType.UUID)
    private String id;

    private String teachingBookId;

    private String auditorId;

    private String auditorName;

    private Integer auditStatus;

    private String remark;

    private Date createTime;

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
